package com.lt.test.provider.dao;

import java.util.List;
import java.util.Map;

public interface KtTobaccoOrderDao{
	 List query(Map parameter);  
	 int create(Map parameter); 
     int update(Map parameter);   
     int save(Map parameter); 
     int batch(List values);
     int batchUpdate(List values);
     int batchDelete(List values);
     /**
      * 查询最近七天的记录
      * @param shopId
      * @param date
      * @return
      */
     Map<String,Object> getLastestWeekRecord(String shopId, String year, String weekNo, String type);

     Map<String,Object> getRecord(String shopId, String year, String weekNo, String type, String productCode);

     List<Map<String,Object>> getOrderByBatchNo(String shopId, String batchNo);

     /**
 	 * 店铺订烟卷烟订购表
 	 * @param shopId
 	 * @return
 	 */
 	List<Map<String,Object>> getKtTobaccoOrder(String shopId, String year, String weekNo);

 	List<Map<String,Object>> getShopTobaccoOrder(String shopId, String year, String weekNo, String type);

 	/**
 	 * 批量删除
 	 * @param batchNo
 	 */
 	void batchDelete(String shopId, String year, String weekNo);

 	List<Map<String,Object>> getTobaccoList(String year, String weekNo);
 	List<Map<String,Object>> getShopList(String zoneCode);
 	List<Map<String,Object>> getShopTobaccoConfirmQuantity(String year, String weekNo);
}
